<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${memberid}"  type="hidden">
							<div class="form-bjnone">
								<div class="cl">
	                                <span class="btn  fileinput-button">
							            <span><a href='javascript:;' class='deleteProductImage' onclick='addclum();'>添加行</a></span>
							        </span>
	                            </div>
	                            <div style="overflow-x: auto">
	                                <table class="table users table-bordered table-condensed dataTables-example dataTable">
	                                    <thead>
	                                        <tr class="text-c">
	                                        	<th width="30">操作</th>
	                                        	<th width="20">数量</th>
	                                            <th width="150">金额</th>
	                                            <th width="150">有效日期</th>
	                                            <th width="60">删除行</th>
	                                        </tr>
	                                    </thead>
	                                    <tbody id="attachmentTbody">
	                                    	<tr class="details">
	                                    		<td>
		                                    		<a onclick="add(this);" class="mlr-3" href="#;" title="加"><i class="fa fa-plus"></i></a>&nbsp;&nbsp; 
								                    <a onclick="del(this);" class="mlr-3" href="#" title="减"><i class="fa fa-minus"></i></a>
	                                    		</td>
	                                    		<td><input type='text' class='form-control' name='attachs_sum' value="1" readonly="readonly"/></td>  
										        <td><input type='text' class='form-control' name='attachs_vouchermoney'/></td>
										        <td><input type='text' class="Wdate form-control" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})" name='attachs_enddate'/></td>  
										   		<td><a href='javascript:;' class='deleteProductImage' onclick='removeAttach(this);'>删除行</a></td>  
										    </tr>
	                                    </tbody>
	                                </table>
	                            </div>
	                        </div>
	                        <div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer">
	</div>
	<script type="text/javascript" src="/js/appjs/shop/member/shopVoucher.js"/>
</body>
</html>
